package com.example.rpdomain.gateway;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.rpclient.dto.query.UserListByParamQuery;
import com.example.rpdomain.user.UserEntity;

public interface UserGateway {


    UserEntity save(UserEntity userEntity);

    UserEntity insertUser(UserEntity userEntity);

    UserEntity findByUserName(Long id, String username);

    IPage<UserEntity> listByParamQuery(UserListByParamQuery query);
}
